/*
 * @Description: 审批数据模型
 * @Author: wind-lc
 * @version: 1.0
 * @Date: 2022-10-14 18:41:14
 * @LastEditTime: 2022-10-14 18:41:49
 * @FilePath: \cscec-pms-admin\src\views\matters\approval\components\model.js
 */
// 列表表头
const batchColumns = [
  {
    title: '序号',
    width: '65px',
    dataIndex: 'serial',
    scopedSlots: { customRender: 'serial' }
  },
  {
    title: '事项名称',
    dataIndex: 'processName'
  },
  {
    title: '事项来源',
    dataIndex: 'taskSource',
    scopedSlots: { customRender: 'taskSource' }
  },
  {
    title: '发起人',
    dataIndex: 'startUserName'
  },
  {
    title: '发起单位',
    dataIndex: 'startOrgName'
  },
  {
    title: '关键信息',
    dataIndex: 'keyword'
  },
  {
    title: '节点滞留时间',
    dataIndex: 'durationInMillis'
  },
  {
    title: '审批状态',
    dataIndex: 'reject',
    width: '200px',
    scopedSlots: { customRender: 'reject' }
  },
  {
    title: '审批意见',
    dataIndex: 'opinion',
    width: '300px',
    scopedSlots: { customRender: 'opinion' }
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: '180px',
    fixed: 'right',
    scopedSlots: { customRender: 'action' }
  }
]

export {
  batchColumns
}